import * as actionTypes from './actionType';

export default (state = {}, action) => {
    switch (action.type) {
        case actionTypes.GETALLLOG:
            return {
               ...state,
               allLog:action.allLog,
               totalCount:action.totalCount
            }
        case actionTypes.OPERATION:
            return {
                ...state,operation:action.operation
            }
        default:
            return state
    }
}